package com.youxin.cpcenter.model;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TbOrderInfo {
    /** 自增ID */
    private Long id;

    /** 订单号 */
    @JsonProperty("order_sn")
    private String orderSn;

    /** 用户ID */
    @JsonProperty("member_uid")
    private String memberUid;

    /** 会员ID */
    @JsonProperty("member_id")
    private Long memberId;

    /** 点数(正数代表充值，负数代表消费) */
    private BigDecimal point;

    /** 付款状态： 1-未付款 2-已付款 3-支付失败 4-已关闭 */
    @JsonProperty("pay_status")
    private Integer payStatus;

    /** 付款时间 */
    @JsonProperty("pay_time")
    private Integer payTime;

    /** 订单金额 */
    @JsonProperty("order_amount")
    private BigDecimal orderAmount;

    /** 折扣金额 */
    @JsonProperty("discount_amount")
    private BigDecimal discountAmount;

    /** 折扣方式 */
    @JsonProperty("discount_type")
    private Integer discountType;

    /** 付款金额 */
    @JsonProperty("pay_amount")
    private BigDecimal payAmount;

    /** 付款方式ID 1:微信 2支付宝 3银联 4汇款  */
    @JsonProperty("pay_type")
    private Integer payType;

    /** 订单描述 */
    private String desc;

    /** 平台支付单号（微信平台支付交易号，支付宝平台交易号 */
    @JsonProperty("platform_no")
    private String platformNo;

    /** 支付来源 1 网站 2 H5 */
    private Byte source;

    /** 优惠券ID */
    @JsonProperty("coupon_id")
    private Integer couponId;

    /** 订单类型 1.充值金券 2.中间号 3.发送短信 4.发送邮件 5.查看联系人 6.商务委托 10.查看微信 11.查看QQ 12.查看固定电话 */
    @JsonProperty("order_type")
    private Integer orderType;

    /** 0.未开发票  1.已开发票 */
    @JsonProperty("is_invoice")
    private Byte isInvoice;

    /**  */
    @JsonProperty("add_time")
    private Integer addTime;

    /**  */
    @JsonProperty("update_time")
    private Integer updateTime;
    
    /**会员关联企业  */
    @JsonProperty("ent_member_id")
    private Long entMemberId;
    
    /**企业认证ID  */
    @JsonProperty("ent_identify_id")
    private Long entIdentifyId;

    /** OA跟进状态 */
    @JsonProperty("admin_name")
    private String adminName;

    /** 管理员备注 */
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn == null ? null : orderSn.trim();
    }

    public String getMemberUid() {
        return memberUid;
    }

    public void setMemberUid(String memberUid) {
        this.memberUid = memberUid == null ? null : memberUid.trim();
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public BigDecimal getPoint() {
        return point;
    }

    public void setPoint(BigDecimal point) {
        this.point = point;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayTime() {
        return payTime;
    }

    public void setPayTime(Integer payTime) {
        this.payTime = payTime;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public Integer getDiscountType() {
        return discountType;
    }

    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo == null ? null : platformNo.trim();
    }

    public Byte getSource() {
        return source;
    }

    public void setSource(Byte source) {
        this.source = source;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Byte getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Byte isInvoice) {
        this.isInvoice = isInvoice;
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public Long getEntMemberId() {
		return entMemberId;
	}

	public void setEntMemberId(Long entMemberId) {
		this.entMemberId = entMemberId;
	}

	public Long getEntIdentifyId() {
		return entIdentifyId;
	}

	public void setEntIdentifyId(Long entIdentifyId) {
		this.entIdentifyId = entIdentifyId;
	}

	public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName == null ? null : adminName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}